{subtemplate common/header}
<script language="javascript">
function ndshdmenu(v)
{
 var hdmenu = document.getElementById(v);
 hdmenu.style.display = 'none;' ;
}
</script>
<link rel="stylesheet" type="text/css" href="$_G['siteurl']source/plugin/stu_fitness/template/nds_ques.css" /> 
<div id="pt" class="wp">
<div class="z">
<a href="./" class="nvhm">$_G['setting']['bbname']</a><em>&rsaquo;</em><a href="plugin.php?id=nds_up_ques"><!--{if !empty($ndsquesname)}-->$ndsquesname<!--{else}-->{lang nds_up_ques:ques}<!--{/if}--></a><em>&rsaquo;</em>{lang nds_up_ques:action_1}
</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bml">
<div class="bm_h cl">
<div class="y" style="padding: 0px 2px 0px 30px" id="scnds">
        <form target="_self" action="plugin.php?id=stu_fitness&action=index" method="post" id="scform">
        <input type="hidden" name="formhash" value="{FORMHASH}" />
        <table cellspacing="0" cellpadding="0">
        <tbody><tr>
        <td><input type="text" size="8" class="px z" id="srchtxt" name="srchtxt"></td>
        <td style="padding: 0px 0px 0px 5px"><button class="xw1" value="true" type="submit" name="searchsubmit" id="search_submit">{lang nds_up_ques:seach}</button></td>
        </tr>
        </tbody></table>
        </form>
      </div>
<span class="y">
<a href="plugin.php?id=stu_fitness&action=ranklist" class="fa_ranklist">{lang nds_up_ques:ranklist}</a>
<!--{if !empty($_G['uid']) }-->
<span class="pipe">|</span>
<a href="plugin.php?id=stu_fitness&myqt=1<!--{if $_G['gp_typeid'] }-->&typeid=$_G['gp_typeid']<!--{/if}-->">{lang nds_up_ques:allques}</a>
<span class="pipe">|</span><a href="plugin.php?id=stu_fitness&myqt=2<!--{if $_G['gp_typeid'] }-->&typeid=$_G['gp_typeid']<!--{/if}-->">{lang nds_up_ques:myques}</a>
<span class="pipe">|</span><a href="plugin.php?id=stu_fitness&myqt=3<!--{if $_G['gp_typeid'] }-->&typeid=$_G['gp_typeid']<!--{/if}-->">{lang nds_up_ques:myanswer}</a>
<span class="pipe">|</span><a href="plugin.php?id=stu_fitness&myqt=4<!--{if $_G['gp_typeid'] }-->&typeid=$_G['gp_typeid']<!--{/if}-->">{lang nds_up_ques:notanswer}</a>
<!--{/if}-->

</span>
<h1 class="xs2">
{lang nds_up_ques:queslist}<span class="xs1 xw0 i">{lang nds_up_ques:quescount}: <strong class="xi1">$magiccount </strong></span></h1>
</div>
</div>
<!-- 发布按钮 -->
<div id="pgt" class="bm bw0 pgs cl">
    <a id="isnewques" href="plugin.php?id=stu_fitness&action=newques" ><img alt="新建问卷" src="{$imgurl}mood_submit.png"></a>
</div>

<!--{if $ndsqclass }-->
  <ul id="thread_types" class="ttp bm cl">
    <li id="ttp_all" {if !$_G['gp_typeid']}class="xw1 a"{/if}><a href="plugin.php?id=stu_fitness">{lang nds_up_ques:q_viewall}</a></li>
    <!--{if $ndsqclass }-->
      <!--{loop $ndsqclass  $id $name}-->
        <!--{if $_G['gp_typeid'] == $id}-->
        <li class="xw1 a"><a href="plugin.php?id=stu_fitness&action=index">$name</a></li>
        <!--{else}-->
        <li><a href="plugin.php?id=stu_fitness&action=index&typeid=$id">$name</a></li>
        <!--{/if}-->
      <!--{/loop}-->
    <!--{/if}-->
  </ul>
<!--{/if}-->
<div id="threadlist" class="tl bm bmw">
  <div class="th">
       <table width="100%"cellspacing="0" cellpadding="0" class="th">
           <tr>
           <div class="tf">
                <td width="7%">{lang nds_up_ques:type}</td>
                <td width="38%">{lang nds_up_ques:subject}</td> 
                <td width="15%">{lang nds_up_ques:dateline}</td>
                <td width="12%">{lang nds_up_ques:author}</td>
                <!--{if $showpost_count }-->
                <td width="7%">{lang nds_up_ques:post_count}</td>
                <!--{else}-->
                <td width="7%">{lang nds_up_ques:rest}</td>
                <!--{/if}-->
                <td width="15%">{lang nds_up_ques:expto}</td>
                <td width="6%">{lang nds_up_ques:nds_quesmode}</td>
            </div>
           </tr>
         </table>
  </div> 
  <table width="100%" cellspacing="0" cellpadding="0">
        <!--{loop $questionnaireList $key $questionnaire}-->  
          <tr>      
        <td width="7%"></td>
        <td width="38%" class="common">$questionnaire['type']<a href="plugin.php?id=stu_fitness&action=viewques&topicid=$questionnaire['id']">$questionnaire['title']</a></td>
    <td width="15%">$questionnaire['post_time']</td>
        <td width="12%"><a href="home.php?mod=space&uid=$questionnaire[author_id]">$questionnaire['author']</a></td>
        <td width="7%">$questionnaire['submit_count']</td>
        <td width="15%">$questionnaire['deadline']</td>
        <td width="6%"><!--{if $queslist['ques_mode'] == 2}-->{lang nds_up_ques:nds_quesmode2}<!--{else}-->{lang nds_up_ques:nds_quesmode1}<!--{/if}--></td>
            </tr>
  <!--{/loop}-->

  </table>
 </div>
<div id="pgt" class="bm bw0 pgs cl">
  $multipage
    <!--{if in_array($_G['groupid'] ,$allowpost)}--><a id="isnewques" href="plugin.php?id=stu_fitness&action=newques" <!--{if  $runmode == 3}-->  onmouseover="$('isnewques').id = 'isnewquestmp';this.id = 'isnewques';showMenu({'ctrlid':this.id});"<!--{/if}-->><img alt="{lang nds_up_ques:newques}" src="{$imgurl}mood_submit.png"></a>
    <!--{/if}-->
</div>
 </div>
</div>
{subtemplate common/footer}